<#if lastTimeStudyHistory??>
	<section class="">
		<#if (lastTimeStudyHistory.userId)?? && (lastTimeStudyHistory.nodeName)??>
			<h6 class="c-g-content c-infor-title">
				<span>近期播放</span>
			</h6>
			<article class="dqkc-list mb30">
				<!-- /无数据提示 开始-->
				<#if !lastTimeStudyHistory.userId?? && !lastTimeStudyHistory.nodeName??>
					<section class="no-data-wrap">
						<em class="icon30 no-data-ico">&nbsp;</em> <span class="c-666 fsize14 ml10 vam">您还没有开始学习课程，快去<a href="/course/list.html" class="c-master f-fM fsize14">选择要学习的课程</a>吧！</span>
					</section>
				</#if>
				<!-- /无数据提示 结束-->
				<div class="clearfix cous-new-late">
					<span class="fl vam">
						<em class="icon20 c-n-la-ico">&nbsp;</em>
						<tt class="vam fsize16 c-master f-fM">${lastTimeStudyHistory.nodeName}</tt>
					</span>
					<span class="fr vam">
						<a target="_blank" href="/user/course/play.html?nodeId=${lastTimeStudyHistory.nodeId }" class="cou-kscp" title="继续学习">
							继续学习
						</a>
					</span>
				</div>
			</article>
		</#if>
	</section>
</#if>
<#if courseNodeTree??>
	<section>
		<h6 class="c-g-content c-infor-title">
			<span>课程目录</span>
		</h6>
		<div id="lh-menu" class="lh-menu">
			<ul>
				<#list courseNodeTree as parentNode >
					<#if parentNode.nodeType==0 ><!-- 文件目录 -->
						<li  class="lh-menu-stair">
							<a href="javascript: void(0)" title="${parentNode.name }" class="l-m-stitle">
								<span class="fr" style="margin-top: 10px;"><em class="icon16 m-tree-icon">&nbsp;</em></span>
								${parentNode.name}
							</a>
							<ol class="lh-menu-ol">
								<#list parentNode.children as sonNode>
									<li class="lh-menu-second">
										<div class="l-m-stitle clearfix">
											<span class="fr" style="margin-top: 8px;">
												<a target="_blank" href="/user/course/play.html?nodeId=${sonNode.nodeId}" class="cou-kscp" title="进入课程">
													<#if lastTimeStudyHistory?? && sonNode.nodeId == lastTimeStudyHistory.nodeId>
														继续学习
													<#elseif sonNode.progress gt 0>
														进入课程
													<#else>
														开始学习
													</#if>
												</a>
											</span>
											<#if lastTimeStudyHistory?? && sonNode.nodeId == lastTimeStudyHistory.nodeId >
												<span class="fr mr20">
													<em class="icon14 u-c-jxzico">&nbsp;</em>
													<tt class="vam fsize12 f-fM c-master">近期学习</tt>
												</span>
											<#elseif sonNode.progress gt 0>
												<span class="fr mr20">
													<em class="icon14 u-c-overico">&nbsp;</em>
													<tt class="vam fsize12 f-fM c-green">已学习</tt>
												</span>
											<#else>
												<span class="fr mr20">
													<em class="icon14 u-c-wksioc">&nbsp;</em>
													<tt class="vam fsize12 f-fM c-666">未学习</tt>
												</span>
											</#if>
											<span class="vam">
												<#if sonNode.fileType=='AUDIO' >
													<em class="lh-p-icon-yp icon20">&nbsp;</em>
												</#if>
												<#if sonNode.fileType=='VIDEO' >
													<em class="lh-p-icon-sp icon20">&nbsp;</em>
												</#if>
												<#if sonNode.fileType=='TXT' >
													<em class="lh-p-icon-wd icon20">&nbsp;</em>
												</#if>
											</span>
											<#--若果是个人中心或课程详情且已登录用户并且为免费章节可点击跳转播放大厅-->
											<a target="_blank" title="${sonNode.name}" href="/user/course/play.html?nodeId=${sonNode.nodeId }" class="cou-tit-txt">
												${sonNode.name }
											</a>
										</div>
									</li>
								</#list>
							</ol>
						</li>
					</#if>
					<#if parentNode.nodeType==1 && parentNode.parentId==0 ><!-- 视频 而且没有父级-->
						<li class="lh-menu-stair">
							<ul class="lh-menu-ol no-parent-node">
								<li class="lh-menu-second">
									<div class="l-m-stitle clearfix">
										<span class="fr">
											<a target="_blank" href="/user/course/play.html?nodeId=${parentNode.nodeId }" class="cou-kscp" title="进入课程">
												<#if lastTimeStudyHistory?? &&parentNode.nodeId==lastTimeStudyHistory.nodeId>
													继续学习
												<#elseif parentNode.progress gt 0>
													进入课程
												<#else>
													开始学习
												</#if>
											</a>
										</span>
										<#if lastTimeStudyHistory?? && parentNode.nodeId==lastTimeStudyHistory.nodeId>
											<span class="fr mr20">
												<em class="icon14 u-c-jxzico">&nbsp;</em>
												<tt class="vam fsize12 f-fM c-master">近期学习</tt>
											</span>
										<#elseif parentNode.progress gt 0>
											<span class="fr mr20">
												<em class="icon14 u-c-overico">&nbsp;</em>
												<tt class="vam fsize12 f-fM c-green">已学习</tt>
											</span>
										<#else>
											<span class="fr mr20">
												<em class="icon14 u-c-wksioc">&nbsp;</em>
												<tt class="vam fsize12 f-fM c-666">未学习</tt>
											</span>
										</#if>
										<span class="vam">
											<#if parentNode.fileType=='AUDIO'>
												<em class="lh-p-icon-yp icon20">&nbsp;</em>
											</#if>
											<#if parentNode.fileType=='VIDEO'>
												<em class="lh-p-icon-yp icon20">&nbsp;</em>
											</#if>
											<#if parentNode.fileType=='TXT'>
												<em class="lh-p-icon-wd icon20">&nbsp;</em>
											</#if>
										</span>
										<#--只有子集标题-->
										<a target="_blank" href="/user/course/play.html?nodeId=${parentNode.nodeId }" title="${parentNode.name }" class="cou-tit-txt">
											${parentNode.name }
										</a>
									</div>
								</li>
							</ul>
						</li>
					</#if>
				</#list>
			</ul>
		</div>
	</section>
	<!-- /无数据提示 开始-->
<#else>
	<section class="no-data-wrap">
		<em class="icon30 no-data-ico">&nbsp;</em> <span class="c-666 fsize14 ml10 vam">没有相关数据，小编正在努力整理中...</span>
	</section>
</#if>